<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <!--&lt;!&ndash; CSRF &ndash;&gt;-->
    <!--<meta name="_csrf" th:content="${_csrf.token}"/>-->
    <!--&lt;!&ndash; default header name is X-CSRF-TOKEN &ndash;&gt;-->
    <!--<meta name="_csrf_header" th:content="${_csrf.headerName}"/>-->
    <title>login</title>
    <!--<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">-->
    <!--<script src="https://code.jquery.com/jquery.js"></script>-->
    <!--&lt;!&ndash; 包括所有已编译的插件 &ndash;&gt;-->
    <!--<script src="js/bootstrap.min.js"></script>-->
    <link rel="stylesheet" type="text/css" href="/webjars/bootstrap/css/bootstrap.min.css"/>
    <script type="text/javascript" src="/webjars/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="/webjars/bootstrap/js/bootstrap.min.js"></script>

</head>

<body>

<div class="container">
    <form action="/login" method="post">
        <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
        <table class="table">
            <tr>
                <td><label>username</label></td>
                <td>
                    <input class="form-control" type="text" name="username">
                </td>
            </tr>
            <tr>
                <td><label>password</label></td>
                <td>
                    <input class="form-control" type="password" name="password">
                </td>
            </tr>
            <tr>
                <td>
                    <input class="btn btn-info" type="submit" value="sign in">
                </td>
                <td></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>